package team.cdlzz.model.servicePojo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zw
 * @date 2022-06-20.
 */
@Component
@ConfigurationProperties(prefix = "mailproperties")
public class Email {
    public String getMailTo() {
        return mailTo;
    }

    public void setMailTo(String mailTo) {
        this.mailTo = mailTo;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    private String mailTo; //收件人
    private String subject;  //邮件主题
    private String content;  //邮件内容

}